package com.ruiysoft.service.statistics;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruiysoft.entity.statistics.ShopUserStatistics;
import org.springframework.scheduling.annotation.Async;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liyahui
 * @since 2019-03-25
 */
public interface IShopUserStatisticsService extends IService<ShopUserStatistics> {

    IPage<Map<String,Object>> selectPageStatistics(Integer pageStart, Integer pageSize, Long shopId, Long userId, Long skuId, Integer type, Long sTime, Long eTime);

    @Async
    void insertAsyc(ShopUserStatistics shopUserStatistics);
}
